.common-modal{
    padding: 0;

    :global .ant-modal-content{
        padding: 0;
    }

    button.close{
        position: absolute;
        right: 6px;
        top: 6px;
        cursor: pointer;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        border-radius: 4px;
        transition: color 0.2s,background-color 0.2s;
        color: rgba(var(--black-alpha), 0.45);
        font-size: 14px;
        z-index: 99;
        border: 0;

        &:hover{
            color: rgba(var(--black-alpha), 0.88);
            background-color: rgba(var(--black-alpha), 0.06);
            text-decoration: none;
        }
    }

    .header{
        position: relative;
        font-size: 16px;
        font-weight: 500;
        height: 36px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(var(--gray-X-alpha), 0.06);
        white-space: nowrap;
    }

    .body{
        position: relative;
        overflow: auto;
    }

    .footer{
        position: relative;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: 1px solid rgba(var(--gray-X-alpha), 0.06);
    }

    :global .ant-modal-footer{
        margin-top: 0;
    }
}